<?php
session_start();
$name=$_GET['name'];
echo $name;
$_SESSION['$name'];
echo $_SESSION['$name'];

?>